package com.tdam2011.grupo04.SMSWeb;

import org.xml.sax.Attributes;
import org.xml.sax.SAXException;

public class RegistroUsuarioHandler extends Handler{
	
	@Override
	public void startElement(String uri, String localName, String qName,
			Attributes attributes) throws SAXException {
		super.startElement(uri, localName, qName, attributes);
		if(localName.equals("result") && attributes.getValue("type").equals("error"))
			isOK= false;
		if(localName.equals("detail"))
			mensaje= attributes.getValue("description");
	}
}
